CleantalkSP\Common\Helpers\IP D

Total Complexity 146
Dependencies 3
Dependents 0
Total lines 621
Lines of code 347
Logical lines of code 226
Comment lines 178
Methods 17
Properties 2

Methods 17

Method Rating Maintainability Complexity Lines of code
get()
D
18
87 176
isIPInNetwork()
A
45 16 36
normalizeIPv6()
A
51 9 23
isIpv6AddrInIpv6Network()
S
52 6 24
validate()
S
61 6 12
reduceIPv6()
S
65 3 8
validateCIDR()
S
72 3 4
resolve()
S
66 3 9
extendIPv6()
S
67 2 7
calculateMaskForIPs()
S
69 2 6
convertInetTobBits()
S
65 2 8
getNetworkNeedles()
S
64 2 10
isIPInPrivateNetworks()
S
78 1 3
calculateMaskForIP()
S
72 1 4
convertLongIntMaskToDec()
S
71 1 5
getFourIPv4FromIP()
S
79 1 3
convertIPv6ToFourIPv4()
S
64 1 9